import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useThemeStore = defineStore('themeStyle', () => {
  const theme = ref('dark')
  const setTheme = (str: string) => (theme.value = str)

  return { theme, setTheme }
})
